package com.eastcom.bm.atom;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;



@Entity
@Table(name = "QA_RAW_DATA")
public class RawData implements Serializable{
	
	private Date timeStamp;
	
	private String datasetId;
	
	private String neId;
	
	private String kpiId;
	
	private Long collectorDate;
	
	private Double value;
	
	private Double baselineUp;
	
	private Double baselineDown;
	
	private String validationType;
	
	private String isNormal;
	
	private String id;

	@Id
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "BASELINE_DOWN")
	public Double getBaselineDown() {
		return baselineDown;
	}

	public void setBaselineDown(Double baselineDown) {
		this.baselineDown = baselineDown;
	}

	@Column(name = "BASELINE_UP")
	public Double getBaselineUp() {
		return baselineUp;
	}

	public void setBaselineUp(Double baselineUp) {
		this.baselineUp = baselineUp;
	}

	@Column(name = "COLLECTOR_DATE")
	public Long getCollectorDate() {
		return collectorDate;
	}

	public void setCollectorDate(Long collectorDate) {
		this.collectorDate = collectorDate;
	}

	@Column(name = "DATASET_ID")
	public String getDatasetId() {
		return datasetId;
	}

	public void setDatasetId(String datasetId) {
		this.datasetId = datasetId;
	}

	@Column(name = "IS_NORMAL")
	public String getIsNormal() {
		return isNormal;
	}

	public void setIsNormal(String isNormal) {
		this.isNormal = isNormal;
	}

	@Column(name = "KPI_ID")
	public String getKpiId() {
		return kpiId;
	}

	public void setKpiId(String kpiId) {
		this.kpiId = kpiId;
	}

	@Column(name = "NE_ID")
	public String getNeId() {
		return neId;
	}

	public void setNeId(String neId) {
		this.neId = neId;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "TIME_STAMP")
	public Date getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}

	@Column(name = "VALIDATION_TYPE")
	public String getValidationType() {
		return validationType;
	}

	public void setValidationType(String validationType) {
		this.validationType = validationType;
	}

	@Column(name = "VALUE")
	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}
	
}
